﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //System.IO.DriveInfo[] allDrives;
        //allDrives = System.IO.DriveInfo.GetDrives();
        //string str = null;
        //foreach (System.IO.DriveInfo drv in allDrives)
        //{
        //    str += drv.Name + "<br/>";
        //}
        //Response.Write(str);
    }
    protected void ImageButton3_Click(object sender, ImageClickEventArgs e)
    {
        for(int i=0;i<Page.Controls.Count;i++)
        {
            foreach(Control c in Page.Controls[i].Controls)
            {
                if (c is TextBox)
                {
                    TextBox tb = (TextBox)c;
                    tb.Text = "";
                }
            }
        }
    }
    protected void ImageButton2_Click(object sender, ImageClickEventArgs e)
    {

    }
}
